package com.dreamtour.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xls
 * @since 2024-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("users")
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "uId", type = IdType.AUTO)
    private Integer uId;

    @TableField("uPhone")
    private String uPhone;

    @TableField("uPwd")
    private String uPwd;

    @TableField("uName")
    private String uName;

    @TableField("uFollowing")
    private Integer uFollowing;

    @TableField("uFollower")
    private Integer uFollower;

    @TableField("uAge")
    private Integer uAge;

    @TableField("uSex")
    private String uSex;

    @TableField("uAvatar")
    private String uAvatar;

    @TableField("lastLogtime")
    private LocalDateTime lastLogtime;

    @TableField("uEmail")
    private String uEmail;

    @TableField("regTime")
    private LocalDateTime regTime;

    @TableField("uRole")
    private String uRole;

    @TableField("cityId")
    private Integer cityId;

    @TableField("status")
    private String status;

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuPhone() {
        return uPhone;
    }

    public void setuPhone(String uPhone) {
        this.uPhone = uPhone;
    }

    public String getuPwd() {
        return uPwd;
    }

    public void setuPwd(String uPwd) {
        this.uPwd = uPwd;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public Integer getuFollowing() {
        return uFollowing;
    }

    public void setuFollowing(Integer uFollowing) {
        this.uFollowing = uFollowing;
    }

    public Integer getuFollower() {
        return uFollower;
    }

    public void setuFollower(Integer uFollower) {
        this.uFollower = uFollower;
    }

    public Integer getuAge() {
        return uAge;
    }

    public void setuAge(Integer uAge) {
        this.uAge = uAge;
    }

    public String getuSex() {
        return uSex;
    }

    public void setuSex(String uSex) {
        this.uSex = uSex;
    }

    public String getuAvatar() {
        return uAvatar;
    }

    public void setuAvatar(String uAvatar) {
        this.uAvatar = uAvatar;
    }

    public String getuEmail() {
        return uEmail;
    }

    public void setuEmail(String uEmail) {
        this.uEmail = uEmail;
    }

    public LocalDateTime getLastLogtime() {
        return lastLogtime;
    }

    public void setLastLogtime(LocalDateTime lastLogtime) {
        this.lastLogtime = lastLogtime;
    }

    public LocalDateTime getRegTime() {
        return regTime;
    }

    public void setRegTime(LocalDateTime regTime) {
        this.regTime = regTime;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getuRole() {
        return uRole;
    }

    public void setuRole(String uRole) {
        this.uRole = uRole;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
